import request from '@/utils/request'

export function listCheck(query) {
  return request({
    url: '/work/check/list',
    method: 'get',
    params: query
  })
}

export function pass(data) {
  return request({
    url: '/work/check/pass',
    method: 'post',
    data: data
  })
}

export function batchPass(data) {
  return request({
    url: '/work/check/batchPass',
    method: 'post',
    data: data
  })
}

export function rollback(data) {
  return request({
    url: '/work/check/rollback',
    method: 'post',
    data: data
  })
}
